
<!DOCTYPE html>
<html>
<head>
	<meta HTTP-EQUIV="Content-Type" Content="text-html; charset=UTF-8">
	<title>症状自评量表 SAS 在线测试</title>

</head>

<style>
 html,
    body,
    #container {
      width: 100%;
      height: 80%;
      margin: 0;
      padding: 0;
    }
</style>

<body>
	<canvas id="myChart" width="600" height="130"></canvas>
</body>

<script src="./dist/js/jquery-3.6.3.min.js"></script>
  <script src="./dist/js/tabler.min.js"></script>
  <script src="./dist/js/jquery.toast.js"></script>
  <script src="https://cdn.staticfile.net/Chart.js/3.9.1/chart.js"></script>
<script>

	
const ctx = document.getElementById('myChart');
const labels = ['2024-04-26 03:18:15', '2024-04-26 03:18:15', '2024-04-26 03:18:15','2024-04-26 03:18:15', '2024-04-26 03:18:15'];  // 设置 X 轴上对应的标签
const data = {
  labels: labels,
  datasets: [{
    label: '我的第一个折线图',
    data: [65, 59, 80, 81, 56,],
    fill: false,
    borderColor: 'rgb(75, 192, 192)', // 设置线的颜色
    tension: 0.1
  }]
};
const config = {
  type: 'line', // 设置图表类型
  data: data,
};
const myChart = new Chart(ctx, config);
</script>

</html>
